package com.service;

import com.entity.Bank;

import java.util.List;
import java.util.Map;

public interface BankService {


    int addBank(Bank bank);

    int removeMore(Integer[] ids);

    int removeByPrimaryKey(Integer id);

    List<Bank> findBankList();

    int getBankCount();

    int getBankCountByCondition(Map params);

    List<Bank> findBankListByPage(Integer startIndex, Integer pageSize);

    List<Bank> findBankByCondition(Map params);

    int modifytBankById(Bank bank);

    Bank findByPrimaryKey(Integer id);

}
